package service.impl;

import java.sql.SQLException;
import java.util.List;

import domain.vo.queryObject;


import module.BasicArea;
import module.FavoriteEMPHouses;
import service.basicAreaService;

/**
 * 
* @ClassName: BasicAreaServiceImpl
* @Description: 系统基本信息的区域服务实现类
* @author chenchao
* @date 2013-10-30 上午01:18:44
*
 */
public class BasicAreaServiceImpl extends basicAreaService {

	/* (non-Javadoc)
	 * @see service.basicService#countByQueryObject(domain.vo.querygetByIdObject)
	 */
	public int countByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return basicAreaDAO.countByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#getObjectByQueryObject(domain.vo.queryObject)
	 */
	public List<BasicArea> getObjectByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return basicAreaDAO.getObjectByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#deleteT(java.lang.Object)
	 */
	public void deleteT(BasicArea t) throws SQLException {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#deleteT(module.FavoriteEMPHouses)
	 */
	public void deleteT(FavoriteEMPHouses t) throws SQLException {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#getAll()
	 */
	public List<BasicArea> getAll() throws SQLException {
		// TODO Auto-generated method stub
		return basicAreaDAO.getAll();
	}

	/* (non-Javadoc)
	 * @see service.basicService#getById(java.lang.String)
	 */
	public BasicArea getById(String id) throws SQLException {
		// TODO Auto-generated method stub
		return basicAreaDAO.getById(id);
	}

	/* (non-Javadoc)
	 * @see service.basicService#insertObject(java.lang.Object)
	 */
	public void insertObject(BasicArea basicArea) throws SQLException {
		basicAreaDAO.insertT(basicArea);
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#updateObject(java.lang.Object)
	 */
	public void updateObject(BasicArea basicArea) throws SQLException {
		basicAreaDAO.updateT(basicArea);
		
	}
	


}
